package com.lyh.system.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(value = "修改密码")
@Data
public class SysUserPasswordReq {


    @ApiModelProperty(example = "手机号")
    @NotNull(message = "手机号不能为空")
    String phonenumber;

    @ApiModelProperty(example = "验证码")
    @NotNull(message = "验证码不能为空")
    String code;

    @ApiModelProperty(example = "新密码")
    @NotNull(message = "新密码不能为空")
    String newPassword;

    @ApiModelProperty(example = "确认密码")
    @NotNull(message = "确认密码不能为空")
    String conformPassword;
}
